package cjq.demo.thread.ch4_8;

import java.util.Date;

/**
 * Created by Administrator on 2016/4/30.
 */
public class Task implements Runnable {
    private String name;

    public Task(String name){
        this.name = name;

    }

    public void run() {
        System.out.println(name+" Starting a : "+new Date());
    }


}
